#include "widget6.h"
#include "ui_widget6.h"

Widget6::Widget6(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget6)
{
    ui->setupUi(this);
    timer=new QTimer(this);
    timer->setSingleShot(true);
    int delaySeconds=3;
    connect(timer,&QTimer::timeout,this,&Widget6::close);
    timer->start(delaySeconds * 1000);
}

Widget6::~Widget6()
{
    delete ui;
}
